﻿using System.Windows.Media;
using System.Windows;

namespace Eniux.Windows.Controls.Core.Core
{
   public static class AttachThemeManage
    {
        #region 附加属性IsPressedBackgroundKey
       public static readonly DependencyProperty IsPressedBackgroundKeyProperty = DependencyProperty.RegisterAttached("IsPressedBackgroundKey", typeof(Color), typeof(AttachThemeManage), new PropertyMetadata(Colors.Red, IsPressedBackgroundKeyPropertyChanged));
        private static void IsPressedBackgroundKeyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
        }
        public static void SetIsPressedBackgroundKey(DependencyObject element, Color value)
        {
            element.SetValue(IsPressedBackgroundKeyProperty, value);
        }
        public static Color GetIsPressedBackgroundKey(DependencyObject element)
        {
            return (Color)element.GetValue(IsPressedBackgroundKeyProperty);
        }
        #endregion
    }
}
